﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZyGame.Datable;

namespace ZyGame.Execute
{
    public class Switcher
    {
        public SwitchNode root { get; set; }

        public void Excuted()
        {

        }
    }

    public class SwitchNode : IDatable
    {
        public string name { get; set; }

        public SwitchNode trued { get; set; }
        public SwitchNode or { get; set; }
        public SwitchNode falsed { get; set; }

        public void Dispose()
        {
            throw new NotImplementedException();
        }
    }
}
